$OpenBSD: patch-tools_gyp_v8_gyp,v 1.1.1.1 2012/10/13 15:09:58 abieber Exp $
--- tools/gyp/v8.gyp.orig	Wed Oct 10 13:52:30 2012
+++ tools/gyp/v8.gyp	Wed Oct 10 13:53:11 2012
@@ -74,8 +74,8 @@
                     'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']
                   },
                 }],
-                ['soname_version!=""', {
-                  'product_extension': 'so.<(soname_version)',
+                ['soname_version!="-1"', {
+                  'product_extension': 'so.${LIBv8_VERSION}',
                 }],
               ],
             },
